import request from '@/router/axios';

//获取发票列表
export function getReceiptPage(params) {
  return request({
    url: '/shop-base/base/receipt',
    method: 'get',
    params,
  });
}

// 订单开票
export function invoicing(id) {
  return request({
    url: `/shop-base/base/receipt/${id}/invoicing`,
    method: 'post',
  });
}
